package com.zzxy.spring.controller;

import com.zzxy.spring.service.IStudentService;

public class StudentController {
    private IStudentService studentService;

    public IStudentService getStudentService() {
        return studentService;
    }

    public void setStudentService(IStudentService studentService) {
        this.studentService = studentService;
    }

    public void addStudent(String username, String password){
        studentService.addStudent(username, password);
    }
}
